package org.gap.web.jsf;

import java.util.List;

import org.gap.domain.Relations;
import org.gap.domain.RelationsTiers;

/**
 * Spring Component that handles CRUD requests for Relations entities
 * 
 */
public interface RelationsComponent {

	/**
	 * Select an existing Relations entity
	 * 
	 */
	public String selectRelations(String relRelationKey);

	/**
	 * Show all RelationsTiers entities by Relations
	 * 
	 */
	public List<RelationsTiers> listRelationsRelationsTierses(String relRelationKey_1);

	/**
	 * Save an existing RelationsTiers entity
	 * 
	 */
	public String saveRelationsRelationsTierses(String relations_relRelation, RelationsTiers relationstiers);

	/**
	 * Delete an existing RelationsTiers entity
	 * 
	 */
	public String deleteRelationsRelationsTierses(String relations_relRelation_1, Integer related_relationstierses_rltTiersParent, Integer related_relationstierses_rltTiersFils, String related_relationstierses_rltRelation);

	/**
	 * Edit an existing RelationsTiers entity
	 * 
	 */
	public String editRelationsRelationsTierses(String relations_relRelation_2, Integer related_relationstierses_rltTiersParent_1, Integer related_relationstierses_rltTiersFils_1, String related_relationstierses_rltRelation_1);

	/**
	 * Select the child RelationsTiers entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteRelationsRelationsTierses(String relations_relRelation_3, Integer related_relationstierses_rltTiersParent_2, Integer related_relationstierses_rltTiersFils_2, String related_relationstierses_rltRelation_2);

	/**
	 * Select the Relations entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteRelations(String relRelationKey_2);

	/**
	 * Save an existing Relations entity
	 * 
	 */
	public String saveRelations(Relations relations);

	/**
	 * Getter for variable Relations
	 * 
	 */
	public Relations getRelations();

	/**
	 * Create a new Relations entity
	 * 
	 */
	public String newRelations();

	/**
	 * Create a new RelationsTiers entity
	 * 
	 */
	public String newRelationsRelationsTierses(String relations_relRelation_4);

	/**
	 * Show all Relations entities
	 * 
	 */
	public List<Relations> listRelationss();

	/**
	 * View an existing RelationsTiers entity
	 * 
	 */
	public String selectRelationsRelationsTierses(String relations_relRelation_5, Integer related_relationstierses_rltTiersParent_3, Integer related_relationstierses_rltTiersFils_3, String related_relationstierses_rltRelation_3);

	/**
	 * Delete an existing Relations entity
	 * 
	 */
	public String deleteRelations(String relRelationKey_3);

	/**
	 * Edit an existing Relations entity
	 * 
	 */
	public String editRelations(String relRelationKey_4);

	/**
	 * Getter for variable Relations
	 * 
	 */
	public RelationsTiers getRelationstierses();
}